/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package AirLine;

import edu.chl.chalmers.fatclient.sb.Flight;

/**
 *
 * @author Fredrik
 */
public class Booking {
    private Person person;
    private Flight flight;
    private Seat seat;
    
    public Booking(Person person,Flight flight,Seat seat){
        seat.setBooked(true);
        this.seat = seat;
        this.flight = flight;
        this.person = person;
    }

    public Person getPerson() {
        return person;
    }

    public Flight getFlight() {
        return flight;
    }

    public Seat getSeat() {
        return seat;
    }
    
    

}
